<?php



class ComponentRoundaboutMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.ComponentRoundaboutMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('component_roundabout');
		$tMap->setPhpName('ComponentRoundabout');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('ROUNDABOUT_ID', 'RoundaboutId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('COMPONENT_ID', 'ComponentId', 'string', CreoleTypes::VARCHAR, false, 50);

		$tMap->addColumn('EASING', 'Easing', 'string', CreoleTypes::VARCHAR, false, 50);

		$tMap->addColumn('DURATION', 'Duration', 'int', CreoleTypes::INTEGER, false, null);

		$tMap->addColumn('INTERVAL_FUNC_SCRIPT', 'IntervalFuncScript', 'string', CreoleTypes::LONGVARCHAR, false, null);

		$tMap->addColumn('REMARK', 'Remark', 'string', CreoleTypes::VARCHAR, false, 255);

		$tMap->addColumn('STATUS_CODE', 'StatusCode', 'string', CreoleTypes::VARCHAR, false, 50);

		$tMap->addColumn('CREATED_BY', 'CreatedBy', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('CREATED_ON', 'CreatedOn', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addColumn('UPDATED_BY', 'UpdatedBy', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('UPDATED_ON', 'UpdatedOn', 'int', CreoleTypes::TIMESTAMP, true, null);

	} 
} 